body{
    font-size: 12px;
}
table{
    width: 100%;
}
th.td{
    padding: 15px 0; 
}
.cartBox tr td:first-child{
    width: 30px;
    text-align: center;
}
.cartBox tr td:last-child{
    min-width: 60px;
}
.cartBox{
    width: 990px;
    margin: 0 auto;
    margin-top: 200px;
}
.cartBox .title th:nth-child(1){
    color: red;
    font-size: 18px;
    font-weight: bold;
    text-align: left;
}  
.cartBox .title th:nth-child(2){
    text-align: right;
    font-size: 14px;
    color: #444;
}
.cartBox .title th:nth-child(2) span{
    padding: 2px 4px;
    border: 1px solid gray;
}
.cartBox .head{
    background: #f3f3f3;
    font: 14px;
    color: #444;
} 
table{
    border-collapse: collapse;
}
.cartBox .shop td:nth-child(2)a{
    font-size: 12px;
    font-weight: bold;
    text-decoration: none;
    color: #222;
}
.cartBox .goods{
    padding: 15px 0 30px 0;
    border: 1px solid #f3f3f3;
    border-top: 3px solid gray;
}
.cartBox .goods td:nth-child(1){
    vertical-align: top;
}
.head td:nth-child(2).goods td:nth-child(2){
    width: 90px;
}
.goods td{
    font-size: 13px;
    vertical-align: top;
}
.goods td:nth-child(3)span{
    display: inline-block;
    width: 200px;
    height: 32px;
    overflow: hidden;
}
.goods td:nth-child(4) div{
    width: 152px;
    height: 16px;
    overflow: hidden;
    text-overflow: allipsis;
    white-space: nowrap;
}

.goods td:nth-child(5){
    width: 80px;
    text-align: center;
}
.goods .number{
    display: flex;
    margin: 0 10px;
}
.goods .number span{
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 1px solid gray;
    text-align: center;
    line-height: 16px;
    background: #f3f3f3;
}
.goods .number input{
    width: 36px;
    height: 18px;
    border: 1px solid gray;
    text-align: center;
    outline: none;
    border-left-width: 0;
    border-right-width: 0;
}

input::-webkit-inner-spin-button{
    -webkit-appearance: none;
}
input::-webkit-outer-spin-button{
    -webkit-appearance: none;
}

.goods td:nth-child(7){
    width: 80px;
    text-align: center;
    font-size: 13px;
    font-weight: bold;

}
.goods td:nth-child(8){
    text-align: center;
    color: #b3b3b3;
}


.js{
    margin-top: 20px;
    display: flex;
    height: 60px;
    width: 988px;
    border: 1px solid #f3f3f3;
    align-items: center;
    color: #b3b3b3;
}

.js div:nth-child(1){
    width: 30px;
    text-align: center
    ;
}
.js div:nth-child(2) .js div:nth-child(4) .js div:nth-child(5){
    padding-right: 10px;
}
.js div:nth-child(6){
    flex-grow: 1;
}
.js div:nth-child(7){
    height: 60px;
    line-height: 30px;
    margin-right: 15px;
}
.js div:nth-child(7) span{
    color: red;
}
.js div:nth-child(8){
    height: 60px;
    line-height: 30px;
    margin-right: 25px;
}
.js div:nth-child(8) span{
    color: red;
    font-size: 16px;
    font-weight: bold;
}
.js div:nth-child(9){
    width: 100px;
    height: 60px;
    line-height: 60px;
    color: #f3f3f3;
    background: red;
    text-align: center;
    font-weight: bold;
    font-size: 24px;
    cursor: pointer;
} 